package cn.gov.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * Created by {wang jian} on 2018/06/27.
 */
public class Jurisdiction implements Serializable {

    private Integer id;
    private String superviseId;
    private String action;
    private String actionTitle;
    private Date updateTime;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Jurisdiction that = (Jurisdiction) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(superviseId, that.superviseId) &&
                Objects.equals(action, that.action) &&
                Objects.equals(actionTitle, that.actionTitle) &&
                Objects.equals(updateTime, that.updateTime);
    }

    @Override
    public int hashCode() {

        return Objects.hash(id, superviseId, action, actionTitle, updateTime);
    }

    @Override
    public String toString() {
        return "Jurisdiction{" +
                "id=" + id +
                ", superviseId='" + superviseId + '\'' +
                ", action='" + action + '\'' +
                ", actionTitle='" + actionTitle + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSuperviseId() {
        return superviseId;
    }

    public void setSuperviseId(String superviseId) {
        this.superviseId = superviseId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getActionTitle() {
        return actionTitle;
    }

    public void setActionTitle(String actionTitle) {
        this.actionTitle = actionTitle;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
